#ifndef DIALOG_MSBOX_H
#define DIALOG_MSBOX_H

#include <QDialog>
#include "QLabel"
#include "QTextEdit"

namespace Ui {
class Dialog_msbox;
}

class Dialog_msbox : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog_msbox(QWidget *parent = nullptr);
    ~Dialog_msbox();

    static int show(int type,int btn,QString txt1,QString txt2,QString txt_edit,QWidget *parent = nullptr);


    QPushButton *t_btn_yes;
    QPushButton *t_btn_no;
    QPushButton *t_btn_true;

    QLabel *txt1;
    QLabel *txt2;
    QTextEdit *txt_edit;

    QWidget * t_wt_ico;



    enum EnmButton{
            ENM_yes_BTN = 1,
            ENM_no_BTN=2,
            ENM_true_BTN=0,
        };

private:
    Ui::Dialog_msbox *ui;
};

#endif // DIALOG_MSBOX_H
